#include <iostream>



const int NUM = 20;
int main()
{
	char a[NUM] = "1bA@cd$aA4%fe";
	char b[NUM] = "";
	std::cout<<"old :"<<a<<std::endl;
	for(int i =0; i<NUM; i++)
		for(int j=i; j<NUM;j++)
			{
				if(isalpha(a[j]))
					{
						if(a[i] > a[j])
							{
								if( tolower(a[i]) != tolower(a[j]) )
									{
										char temp = a[i];
										a[i] = a[j];
										a[j]=temp;
									}
								

							}

					}
			}

	std::cout<<"new :"<<a<<std::endl;
}
